package methods;

import main.Paycheck;

public class MailMethod implements PaymentMethod {

	private String address;

	public MailMethod(String address) {
		this.address = address;
	}

	public void Pay(Paycheck paycheck) {
		paycheck.setField("Disposition", "Mail");
	}

	public String getAddress() {
		return address;
	}

	public String ToString() {
		return "mail (" + address + ")";
	}
}
